Gra2MoL: A domain specific transformation language for bridging grammarware to modelware in software modernization

نویسندگان

  • Javier Luis Cánovas Izquierdo
  • Jesús Sánchez Cuadrado
  • Jesús Garcı́a Molina
چکیده

Model-driven engineering (MDE) can be used both to create new software systems and to evolve or modernize existing software systems. In model-driven software evolution, models are extracted from the system and then MDE techniques are applied to make it evolve. Most evolution scenarios involve dealing with existing source code written in some programming languages. Therefore, a bridge from grammarware to MDE must be built to extract models from such a source code. In this paper we present an approach for the extraction of models conforming to a target metamodel from source code conforming to the grammar of a programming language. This approach is based on the definition of a grammar-to-model transformation language, named Gra2MoL, which is a language specially tailored to address the grammarware-modelware bridge in modernization scenarios. The language promotes grammar reuse, and provides domain-specific features such as a powerful query language to traverse syntax trees.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Bridging Grammarware and Modelware

In Software Engineering many text-based languages and supporting tools are used, forming the grammarware technical space. Currently model driven engineering is the new emerging paradigm for software engineering, which uses modelling languages and tools, forming the modelware technical space. Transition to the new technical space and interoperability between these two technical spaces is needed ...

متن کامل

A Domain Specific Language for Extracting Models in Software Modernization

Model-driven engineering techniques can be used both to create new software and to modernize existing software systems. Modeldriven software modernization requires a first step for the extraction of models. Most modernization scenarios involve dealing with the GPL source code of the existing system. Techniques and tools providing efficient means to extract models from source code are therefore ...

متن کامل

Using Grammarware Languages to Define Operational Semantics of Modelled Languages

Abstract State Machines, Prolog, and Scheme are wellestablished for language engineering in the technological space of grammarware. In this paper, we show how they can be integrated into the technological space of modelware to describe operational semantics of modelled languages. Integration is based on three bridges: a physical, a logical, and a pragmatical bridge between grammarware language ...

متن کامل

Bridging Technological Spaces: Towards the Combination of Model-Driven Engineering and Ontology Technologies

Model-Driven Engineering (MDE) aims to raise the level of abstraction in software system specifications and increase automation in software development. Modelware technological spaces contain the languages and tools for MDE that software developers take into consideration to model systems and domains. Ontoware technological spaces contain ontology languages and technologies to design, query, an...

متن کامل

Deriving a textual notation from a metamodel: an experience on bridging Modelware and Grammarware

In this paper, we show how the OMG’s metamodelling approach to domain-specific language definition can be exploited to infer human-usable textual notations (concrete syntaxes) from the conceptualization provided by metamodels (abstract syntaxes). We give general rules to derive a context-free EBNF (Extended Backus-Naur Form) grammar from a MOF-compliant metamodel, and we show how to instruct a ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2008